package top.dreamcenter.rss.rsssolverweb.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;
import java.util.Hashtable;
import java.util.List;
import java.util.Set;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class PluginInfo {

    private String pluginId;

    private String route;

    private String cron;

    private List<KVPair> keyList;

    private List<KVPair> configList;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastRunAt;

    private String lastRunResult;
}
